package com.modern.js.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.modern.js.entity.Customer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.modern.js.entity.Employee;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author PIGS
 * @since 2020-03-28
 */
public interface ICustomerService extends IService<Customer> {

    IPage<Customer> selectById(Page<Customer> page, Integer empId,String telphone,String customerName);

    IPage<Customer> selectList(Page<Customer> page,String empName,String createTime);

    List<Customer> selectCustomer(Integer empId);

    IPage<Customer> selectCustomerIsOrders(Page<Customer> page,Integer empId);
}
